Comments (1)
On Sun, Nov 02, 2014 at 03:15:19PM -0800, Gabriel A. Devenyi wrote:
Here's what we have:
$ git log --graph --topo-order --oneline --decorate | head -n2
- a8a8643 (HEAD, modular-shell/master, novice-shell) Minor wording changes
- 9cde165 Small Grammatical Change to List Format
And here's what's in bc:
$ git log --graph --topo-order --oneline --decorate bc/gh-pages -- novice/shell | head -n3
- e28d108 (origin/pr/789) only keep n,median; remove mean,min,max
- 4f5652b times for shell, python, git, sql
- 99e5149 (origin/pr/754) Small Grammatical Change to List Format
The “only keep n,median…” commit is older, but it was merged later
(2014-11-02 1 vs 2014-10-24 2), so we'll add it after in our
series. Where did the swcarpentry/DEPRECATED-bc#789 branch leave bc?
$ git log -1 --date=short --pretty=format:'%h %ad %s' 4f5652b^
5c59eac 2014-10-08 Merge pull request #783 from fmichonneau/menu-bar-firefox
Is that after “Small Grammatical Change…”?
$ git log -1 --date=short --pretty=format:'%h %ad %s' 9cde165
9cde165 2014-09-26 Small Grammatical Change to List Format
yes. So let's re-create the pull request based from our “Small
Grammatical Change…”:
$ git checkout -b wip-pr 9cde165
$ git cherry-pick 4f5652b e28d108
$ git rm -rf novice/
$ git cherry-pick --continue
$ git rm -rf novice/
$ git cherry-pick --continue
What was the merge commit?
$ git log --oneline --first-parent bc/gh-pages | grep '#789'
81b77c3 Merge pull request #789 from chendaniely/time-estimates
Re-create that merge after our “Minor wording changes” (because it
landed later, as I mentioned earlier):
$ git checkout novice-shell
$ NAME=$(git show --pretty=format:%an 81b77c3)
$ EMAIL=$(git show --pretty=format:%ae 81b77c3)
$ DATE=$(git show --pretty=format:%ad 81b77c3)
$ MESSAGE=$(git show --pretty=format:%B 81b77c3)
$ GIT_AUTHOR_NAME="${NAME}" GIT_AUTHOR_EMAIL="${EMAIL}" GIT_AUTHOR_DATE="${DATE}" git merge -m "${MESSAGE}" --no-ff wip-pr
How does it look?
$ git log --graph --topo-order --oneline --decorate | head -n 7
- 02e76a5 (HEAD, novice-shell) Merge pull request #789 from chendaniely/time-estimates
|\
| * bb36f97 (wip-pr) only keep n,median; remove mean,min,max
| * a474dc3 times for shell, python, git, sql - | a8a8643 (modular-shell/master) Minor wording changes
|/ - 9cde165 Small Grammatical Change to List Format
Good. Remove the temporary branch:
$ git branch -d wip-pr
And publish:
$ git push -f modular-shell novice-shell:master
Cheers,
Trevor
from shell-novice.
Related Issues (20)
- Ep 04: 'grep' command option combination HOT 4
- Remove mention of "ls -F" option HOT 3
- man command in 02-filedir.md HOT 3
- Wildcard Callout should be main text HOT 2
- Inserting "quotes" in filename HOT 2
- Address "ls -s" and "ls -S" confusion/differences HOT 2
- [Pipe and Folters] Missing explanation how to run the interactive shell. HOT 5
- [Navigating Files and Directories] small issue with wording HOT 3
- phrasing on grep -w command HOT 1
- option vs. flag HOT 1
- Protiens directory not accurately named HOT 2
- Plot example in 06 HOT 1
- Shorten the lesson
- Ep03: fill in the blanks answers color inconsistency HOT 3
- Hazards of introducing commands not to follow HOT 3
- [suggestion] `setup` section for Windows users
- Ep 4. Tip "Redirecting to the same file" -- to prevent following along mistake HOT 5
- What other environments can the shell lesson be run on
- Examine reccomendation of WSL
- Update overview for section 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shell-novice.