Skip to content

Instantly share code, notes, and snippets.

@frankyaorenjie
Last active March 6, 2022 06:20
Show Gist options
  • Save frankyaorenjie/9bd1fe49003f48b4bcb613e5b5b9cdda to your computer and use it in GitHub Desktop.
Save frankyaorenjie/9bd1fe49003f48b4bcb613e5b5b9cdda to your computer and use it in GitHub Desktop.
[git] git snippets #git
#V2 is branch name
#upstream is remote name
git push upstream HEAD:V2
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
precomposeunicode = true
[remote "origin"]
url = git@github.com:frankyaorenjie/abc.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "develop"]
remote = origin
merge = refs/heads/develop
[remote "upstream"]
url = git@github.com:visenze/abc.git
fetch = +refs/heads/*:refs/remotes/upstream/*
@naveen-jpmc
Copy link

git commonds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment