Open githubteacher opened 9 years ago
Dealing with 'flawed' commits, ie:
Rebase vs Merge workflows
Webhooks & CI integrations
Our process requirements are to allow SWE and QE to collaborate and to ensure that only tested code goes into production. Our team develops server-side code, which currently must be deployed on well-known endpoints for client integration and testing, so having different server endpoints per branch is not an option. We've worked out a process that solves for all these requirements by using a "master" branch for releases, a "develop" branch for testing, and as many "feature" branches as there are SWEs developing features. I'd like to know if there is a "better" way.
Our current process:
1) ensure local master is up to date wrt origin/master
* git pull origin master
2) create local feature branch off master
* git branch
Understanding Refs: relative refs, refspecs, special refs, packed refs, etc.
All of these are on the command line:
How do I see all commits by a certain person? How do I see all commits in a certain directory (by a certain person)? How do I see all the commits on a certain file? How do I rename a file? How do I rename a directory? How do I move a file? How do I move a directory? How do I revert a commit? How do I revert a merge? How do I revert a single file to a previous revision/date-time? How do I revert an entire directory to a previous revision/date-time? How do I get source of all files to a given timestamp? How do I get source of a certain directory at a given timestamp? How do I do dry runs that don’t change the repo for all commands? (like -n in Perforce) How do I see what will change locally before I do a fetch/pull? How do I see what will change remotely before I do a push? How do I only fetch/pull a certain directory or file? How do I only push a certain directory or file? How do I make a tag? How do I get all source at a certain tag? How do I get source of a directory at a certain tag? How do I clone a repo without history? How do I diff two (remote) branches on the command line? How do I stash changes and bring them back? How can I share my stashed changes with someone else? How do I switch branches with unstaged or committed files? How do I abort a merge? How do I abort a commit? How do I abort staging? How do I see deleted files or directories? How do I bring back a deleted file or directory? What is a hard reset? What is a soft reset? How do I create a pull request on the command line?
Automatic Fork Syncing. Granular permissions on release branches.
Merge v/s rebase, using reflogs to find lost work after a terrible terrible merge conflict, hard reset.
Integrating changes to multiple branches Reset a particular commit. Creating a branch from a particular commit.
Please add me to this repo
hello world
meow
Yinz
derp
please add me
woo
a
Hello
hey hey
please add me
add
please add me too
helloworld
add
Pretty please!?
@vsriram2011 please add
add
add
for @bcampagnolo https://www.youtube.com/watch?v=oHg5SJYRHA0
add me
request push capability
request push, thanks!
Please add me..thanks!
Workflow strategies used by teams
The Advanced class is a special animal. When we say "advanced" it means different things to different people. To help us meet your expectations, please let us know what it means to you and your expectations for the class on June 9th.