diff options
author | Guangxiong Lin <[email protected]> | 2023-12-31 12:47:22 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2023-12-31 12:48:31 +0800 |
commit | 6ebd2799984879e3520d1421cff4e8c0792c4758 (patch) | |
tree | fca740a4a51f2cdc833bab0e4e5e9cb7b88ff74e /git.cheat | |
parent | 340cefd405d2abf78837f25ebafdcf284f21bf47 (diff) | |
download | navi-cheats-6ebd2799984879e3520d1421cff4e8c0792c4758.tar.gz navi-cheats-6ebd2799984879e3520d1421cff4e8c0792c4758.tar.bz2 navi-cheats-6ebd2799984879e3520d1421cff4e8c0792c4758.zip |
Update scripts
Diffstat (limited to 'git.cheat')
-rw-r--r-- | git.cheat | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -12,5 +12,8 @@ git checkout <branch> # Delete a branch git branch -d <branch> +# Get the remote url of origin +git remote get-url origin + $ commit_id: git log --pretty=reference --- --column 1 --delimiter '\s' $ branch: git branch | awk '{print $NF}' |