Alias "fast-forward"
This commit is contained in:
parent
af56dd1f33
commit
6bf7709865
2 changed files with 5 additions and 0 deletions
|
|
@ -84,6 +84,7 @@ g fetch | Fetches all remotes and fast-forwards local branches when possible
|
||||||
g fetch *branches* | Fetches and fast-forwards the specified branches
|
g fetch *branches* | Fetches and fast-forwards the specified branches
|
||||||
g push | pushes to upstream. <ul><li> If upstream not set, prompt user to name a remote branch. </li> <li> If multiple remotes exist, prompt for which remote to use. </li></ul>
|
g push | pushes to upstream. <ul><li> If upstream not set, prompt user to name a remote branch. </li> <li> If multiple remotes exist, prompt for which remote to use. </li></ul>
|
||||||
g remote | Interactive prompt to add a remote.
|
g remote | Interactive prompt to add a remote.
|
||||||
|
g ff | git pull --ff-only
|
||||||
|
|
||||||
\* To save your Github username where `get` can see it: `git config --global github.user your_user_name`
|
\* To save your Github username where `get` can see it: `git config --global github.user your_user_name`
|
||||||
|
|
||||||
|
|
|
||||||
4
bin/g
4
bin/g
|
|
@ -312,6 +312,10 @@ for local_branch in $branches; do
|
||||||
done
|
done
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
ff)
|
||||||
|
git pull --ff-only
|
||||||
|
;;
|
||||||
|
|
||||||
ignore)
|
ignore)
|
||||||
GIT_ROOT=$(git_root)
|
GIT_ROOT=$(git_root)
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue