1. Common GIT powershell command line
Staging
Git add filename
Git status
Commit
Git commit –m “add link to …..” (shortcut: git command –am “fsdfsd”)
New repo
Git init (in folder, run this, create new repo)
Git add –A (add all files to repo)
Git rm –cached .\index.html (exclude file)
Git status
Branch
git branch (get all branch)
Git branch testing (create testing branch)
Switching branches
Git checkout testing
Git checkout master (master is the default one)
Merge
Git checkout master
Git merge bar (conflict)
Delete hotfix branch
Git branch –d hotfix
Rebase
Git rebase
Remote repo:
git init --bare \\dongjie\rnd\INDA_GIT\test\
Git remote add origin //dongjie/rnd/INDA_GIT/test (add remote repo)
Git remote -v (list remote repo)
Git push -u origin --all (put to remote repo origin)
git clone \\dongjie\rnd\INDA_GIT\test\ (clone from remote share folder to local)
git pull origin (pull update from remote source origin, if you want to do merge, please do this before and merge)
2. Initial a new project:
git init --bare “\\dongjie\DEPT\INDA\Dongjie RMS\project1\project1.git”
git clone //dongjie/rnd/INDA_GIT/test/test.gif f:\test
Git add -A
Git commit -m “add link to …..”
Git push -u origin --all
3. Webstorm integration with GIT
Reference: https://www.jetbrains.com/webstorm/help/adding-files-to-a-local-git-repository.html
Check out from Version ControlGIT
4. Get version history
Getk –all or use GIT GUI interface
分享到:
相关推荐
常用git命令,管理代码仓库的一些常用命令。
git command1
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作业此存储库是为2020TWU-homework和git command-ex创建的
Git-CommandLine
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-command-line 是命令行 Git 的包装器,所以你必须在你的 linux/mac 机器上安装 git(它还没有在 windows 中测试过)。 常见的语法是: var GitCommandLine = require ( 'git-command-line' ) ; var Git = new...
Git-2.17.0-64-bit.win64 windows64位下GIT 工具 GIT bash、Git GUI、Git Command
git cheetsheet, fast git command reference
一个简单的插件,可让您将保管库备份到远程git存储库(例如GitHub上的私人存储库)。该插件假定您已经在本地初始化了现有的git存储库,并且已设置凭据。 关于使用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
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...
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之间也有空格 ...
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. ...
$ git clippy [git command] $ git clippit [git command] 要求 苹果系统 $ brew install cowsay 拱 $ pacman -Syu cowsay Debian / Ubuntu $ apt-get install cowsay 安装 简易模式 $ curl -L ...
语言:English 使用此扩展,您可以学习或修订git命令 Command Explorer是Google Chrome扩展程序。 查找所需的正确命令,而无需在网络上浏览。
Meson:registered:是一个创建最佳的下一代构建系统的项目。 状态 依存关系 (3.6版或更高版本) (版本1.8.2或更高版本) 从源安装 Meson在上,因此可以与pip3 install meson 。 使用pip进行安装的确切命令类型...
git_command 之前保存在本地的git命令之前
Used if you need to pass the manifest revision to a locally executed git command. REPO_RREV is the name of the revision from the manifest, exactly as written in the manifest. Options: -c: command ...
编码猫Git CommandLine命令: git init初始化本地git仓库git remote add <name> 仓库git remote add <name> 仓库git remote add <name> 添加一个远程仓库 git remote -v显示包括链接的遥控器git remote show 显示-v...