This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
rb:git-cheatsheet [18/09/2019 12:09]
andrew [git branch (create and delete)]
rb:git-cheatsheet [18/09/2019 15:41] (current)
andrew [git config]
Line 21: Line 21:
   $ git config --global user.email me@mycomp.co.uk   $ git config --global user.email me@mycomp.co.uk
   $ git config --global user.name Real Name   $ git config --global user.name Real Name
 +You can see the current settings in force with:-
 +$ git config --list
 +alias.a=!git add . && git status
 +Note this also shows aliases which are useful shorthand:-
 +$ git s
 +On branch master
 +Your branch is up to date with '​github/​master'​.
 +Untracked files:
 +  (use "git add <​file>​..."​ to include in what will be committed)
 + fullstack-expt/​.terraform/​
 +nothing added to commit but untracked files present (use "git add" to track)

rb/git-cheatsheet.txt ยท Last modified: 18/09/2019 15:41 by andrew