Good for skeleton themes, frameworks, etc
git clone --depth=1 <remote_repo_url>
git checkout master
git pull
git merge Farmcrops
git push origin master
git branch -d Farmcrops
git checkout master
git checkout -b Farmcrops
or
git checkout master
git pull
git checkout Farmcrops
git merge master
git checkout master
git merge Farmcrops
—
git fetch —all
git reset —hard origin/master
—
git checkout -b newBranch
git branch -d Farmcrops
git log --pretty=format: --name-only --since="8 days ago" | sort | uniq
or prettier
git diff --stat @{8.days.ago}
the first way seems to show more file changes(?)
git diff --name-only SHA1 SHA2
git remote -v
Use this for things like gulpfile.js.
git update-index --assume-unchanged [<file> ...]
git checkout -b newbranch
git add --all
git commit -m "your message"
git pull origin dev:dev
fetch . yourbranch:dev
Alltogether now:
Assuming you are on yourbranch
and you want to merge and push dev
git pull origin dev:dev
fetch . yourbranch:dev
git push origin dev
git merge dev