Get In Touch: Difference between revisions
imported>Ixxie No edit summary |
imported>Makefu No edit summary |
||
Line 51: | Line 51: | ||
git push $YOUR_GITHUB_NAME submit/your-topic-name | git push $YOUR_GITHUB_NAME submit/your-topic-name | ||
</syntaxhighlight> | </syntaxhighlight> | ||
goto | goto [httpsgithub.com/nixos/nixpkgs] -> push create pull request | ||
Why create your own branch? You can follow upstream (master) by running | Why create your own branch? You can follow upstream (master) by running <code>git merge master</code>. | ||
You can | You can <code>git commit --amend</code> fixes and <code>git push -f</code> your branch. | ||
You can always switch back to master by | You can always switch back to master by <code>git checkout master</code>. | ||
For long living topic branches you may want to read [[Nixpkgs_and_TopGit]] which allows to squash many changes so that patches will always be easy to review. | For long living topic branches you may want to read [[Nixpkgs_and_TopGit]] which allows to squash many changes so that patches will always be easy to review. |