`
lvwenwen
  • 浏览: 948913 次
  • 性别: Icon_minigender_1
  • 来自: 魔都
社区版块
存档分类
最新评论

git command

    博客分类:
  • git
阅读更多

 1  git init

 2  git remote add origin http://lwenwen2190@git.menards.net/scm/mcombleum/menards.com.git

 3  git fetch --depth 1 origin

 4  git fetch --depth 1 pb

 6  git branch

 7  git remote -v

 8  git checkout --track pb/develop

 9  git branch feature/MCR-120306-Detail_Bar

10  git checkout feature/MCR-120306-Detail_Bar

    git status

14  git commit -m'MCR-120306'

 

$ git push pb  feature/MCR-120306-Detail_Bar:feature/MCR-120306-Detail_Bar

 

$ git push pb  feature/MCR-120293-Mobile_CirCleSlider:feature/MCR-120293-Mobile_CirCleSlider

 

$ git push pb  feature/MCR-120309-AnySize_Slider:feature/MCR-120309-AnySize_Slider

 

$ git push pb  feature/MCR-138295-Expandable_Video:feature/MCR-138295-Expandable_Video

 

git branch feature/MCR-131016-Expandable_Video

 

pwd:n!hGhR9

 

 doublecheck 

 1  git init

 2  git remote add pb http://lwenwen2190@git.menards.net/scm/mcombleum/menards.com.git

 3  git fetch --depth 1 pb

 4  git checkout --track pb/develop

 5  git checkout --track pb/feature/MCR-120306-Detail_Bar

 6  history

 

 

 feature/MCR-120293-Mobile_CIrCleSlider

 

 服务器下代码

 

 git remote update

 git remote show origin

 

 

 git fetch origin

 

 删除远程分支

 git push pb :feature/MCR-120293-Mobile_CirCleSlider

 git push pb :feature/MCR-120306-Detail_Bar

 git push origin :feature/MCR-120309-AnySize_Slider

 

 double checkout

 1  git init

 2  git remote add pb http://lwenwen2190@git.menards.net/scm/mcombleum/menards.com.git

 3  git fetch --depth 1 pb

 4  git checkout feature/MCR-120309-AnySize_Slider

 5  history

 

 git rm --cached xxxxxx path 忽略文件

 git commit -m'remove .classpath .project'

 

 

 C:\Users\Kevin.Lv\workspace\gitGui

 

 10/22

 192.168.4.215

 

git pull origin MCR-120300-Upload (获取最新MCR-120300-Upload到本地)

 

git fetch origin

 

10/27

执行命令避免冲突

git pull pb develop

git pull

 

  18  git merge origin/develop

  20  git merge pb/develop (merge)

  22  git status

  23  git stash

  24  git status

  25  git merge pb/develop

  26  git status

  27  git merge pb/develop

  

  

  //最新develope的代码

  git fetch pb (fetch)

  

  10/30

  

feature/MCR-131016-Lightbox_Template

 

 portal.menard-inc.com/bleumMCOM

 

11/10/2014

 修改bug

 git clone (develop)

 (先把需要的MCR代码merge到develop下,新建一个GIT.MERGEMCR,下最新的代码)

 git clone http://lwenwen2190@git.menards.net/scm/mcombleum/menards.com.git "D:\MCOM.GIT_Clone" 

 git branch bugfix/MCR-120306-Detail_Bar

 git checkout bugfix/MCR-120306-Detail_Bar

 

 git add 'Menards.com/src/content/content/js5/scrolldetailbar.js'

 git commit -m'MCR-120306'

 git push pb  bugfix/MCR-120306-Detail_Bar:bugfix/MCR-120306-Detail_Bar

 

 git merge bugfix/MCR-120306-Detail_Bar (develop下)

 git push origin develop (develop下)

 

 11/11/2014

 修改bug

 git merge bugfix/MCR-120306-Detail_Bar (develop下)

 git push origin develop (develop下)

 

 //取消暂存 benchmarks.rb 文件

 git reset HEAD benchmarks.rb

 

 //取消对文件的修改

 git checkout --file<-->

 git checkout -- benchmarks.rb

 

分享到:
评论

相关推荐

    git_command.zip_git_git command_git commd_git commond_git命令

    标题中的“git_command.zip”显然包含了关于Git命令的资料,而描述进一步确认了这一点,指出这些命令是用于管理代码仓库的。标签再次强调了“git_command”及其不同拼写变体,以及“git命令”。考虑到压缩包内的唯一...

    git command1

    `git command1` 概括了 Git 的一些基本操作和实际应用,主要包括初始化仓库、远程仓库的交互、分支管理和合并等核心概念。 1. **初始化仓库**:使用 `git init` 命令可以在当前目录下创建一个新的 Git 仓库。这会在...

    Git-2.14.1-64-bit

    As Windows users commonly expect graphical user interfaces, Git for Windows also provides the Git GUI, a powerful alternative to Git BASH, offering a graphical version of just about every Git command ...

    TWU-homework:此存储库是为2020TWU-homework和git command-ex创建的

    在描述中提到的"git command-ex"可能是Git命令的练习或示例,这表明该存储库可能包含一系列用于教学目的的Git操作实例。 在Git中,常见的命令包括: 1. `git clone`:克隆远程仓库到本地。 2. `git init`:初始化一...

    Git.Version.Control.Cookbook.1782168451

    To understand and follow the recipes included in this book, basic knowledge of Git command-line code is mandatory. Table of Contents Chapter 1. Navigating Git Chapter 2. Configuration Chapter 3. ...

    Git-2.17.0-64-bit.win64

    3. **Git Command Line**:这是Git的核心部分,通过命令行接口执行所有版本控制任务。对于熟练的Git用户,命令行提供了最大的灵活性和效率。Git命令包括但不限于`git init`(初始化仓库)、`git clone`(克隆远程...

    Git-CommandLine

    Git的命令行界面(CommandLine)是其最基础且最强大的使用方式,允许开发者直接通过命令行进行各种操作。本教程将深入探讨Git的命令行工具,特别关注于其在Swift开发中的应用。 1. **Git安装与配置** - 在不同的...

    git-command-line:带有承诺的命令行 git 的包装器

    Git-command-line 是命令行 Git 的包装器,所以你必须在你的 linux/mac 机器上安装 git(它还没有在 windows 中测试过)。 常见的语法是: var GitCommandLine = require ( 'git-command-line' ) ; var Git = new...

    obsidian-git:使用git备份您的Obsidian.md保管库

    一个简单的插件,可让您将保管库备份到远程git存储库(例如GitHub上的私人存储库)。该插件假定您已经在本地初始化了现有的git存储库,并且已设置凭据。 关于使用git备份保险库的好处,我建议阅读这篇。您也可以在...

    git-ray::laptop::water_pistol:-一个nodejs库来调用用RxJS编写的git命令

    function gitCommand ( arg : String , // a string argument to pass as the main param to git params : String [ ] , // git command options nodeSpawnOptions : Object = { cwd : process

    Visual Studio

    Git Command Line Package failed please correct the following problems to ensure full product functionality to learn more ,you can review the list of common issues and workarounds or examine the log...

    git安装包git安装包git安装包git安装包git安装包

    3. 选择安装类型:在安装类型选项中,您可以选择“Run Git from the Windows Command Prompt”或“Run Git and included Unix tools from the Windows Command Prompt”。推荐选择后者,因为它将提供与Unix/Linux...

    GitBash和GitGui右键失效解决方法

    6.选中 Git GUI Here 右键新建(项),并重命名为command,command的值设置为 D:\Program Files\Git\cmd\git-gui.exe --working-dir %v,其中--working-dir和git-gui.exe之间有空格,--working-dir和%v之间也有空格 ...

    An open source Git extension for versioning large files

    Download and install the Git command line extension. Once downloaded and installed, set up Git LFS for your user account by running: git lfs install You only need to run this once per user account. ...

    Command Explorer-crx插件

    Command Explorer是一款专为Google Chrome浏览器设计的扩展程序,它的主要功能是帮助用户学习和复习Git命令。Git是一种分布式版本控制系统,广泛应用于软件开发和项目管理中,用于追踪对文件的修改,协调多人协作。...

    clippit-git:看来您想找点乐子

    $ git clippy [git command] $ git clippit [git command] 要求 苹果系统 $ brew install cowsay 拱 $ pacman -Syu cowsay Debian / Ubuntu $ apt-get install cowsay 安装 简易模式 $ curl -L ...

    TortoiseGit安装.rar

    【git command.txt】文件可能是列出了一些常见的Git命令及其用法的文本文件,对于熟悉Git命令行操作或者想要了解TortoiseGit对应的图形化操作的用户来说,这是一个很有价值的参考。 安装TortoiseGit的过程通常包括...

    介子:https:github.commesonbuildmeson.git

    Meson:registered:是一个创建最佳的下一代构建系统的项目。 状态 依存关系 (3.6版或更高版本) (版本1.8.2或更高版本) 从源安装 Meson在上,因此可以与pip3 install meson 。 使用pip进行安装的确切命令类型...

    git_command:之前保存在本地的git命令发布

    `git_command`可能是用户创建的一个自定义脚本或者集合,包含了他们常用或特定场景下的Git命令。在描述中提到的"之前保存在本地的git命令之前"可能指的是用户之前记录的一系列Git操作流程,这些命令可能有助于日常...

    Git 命令参考手册

    Git是世界上最流行的分布式版本控制系统,它允许开发者跟踪和管理代码变更,协同开发项目。这份"Git命令参考手册"是Git官方提供的权威指南,包含了Git的所有核心命令和使用方法。下面,我们将深入探讨Git的一些关键...

Global site tag (gtag.js) - Google Analytics