- Loading...
...
| Code Block | ||
|---|---|---|
| ||
$ git config --global alias.sync '! git fetch upstream && git push --atomic origin $(git for-each-ref --format '"%(refname):%(refname:strip=3)'" refs/remotes/upstream)' |
| Code Block | ||
|---|---|---|
| ||
$ git sync |
...
| Code Block | ||
|---|---|---|
| ||
$ git config --global alias.glog '"log --color --format='format:%C(auto)%h %C(auto)%s %C(auto)%d' --graph --all --abbrev'" |
| Code Block | ||
|---|---|---|
| ||
$ git glog |
...