💾 Archived View for sdf.org › blippy › git.gmi captured on 2023-12-28 at 16:24:34. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-07-10)
-=-=-=-=-=-=-
Created 2022-10-29 (2010-11-13). Updated 2023-06-12
Dry run:
git clean -dfxn
Actual:
git clean -dfx
git clone 192.168.0.14:repos/redact.git git clone git@gitlab.com:mcturra2000/rpi.git git clone git@gitlab.com:mcturra2000/cerbo.git
git pull = git fetch + git merge, effectively
Hack hack hack git commit git format-patch -1
<a href="http://stackoverflow.com/questions/2082296/how-do-patches-work-in-git">xlink</a>
If you want to undo one or more uncommited files: <code>git checkout FILE1 ...</code>
<li>Listing tags: <code>git tag</code>
<li>Creating tags e.g.: <code>git tag -a v1.4 -m 'version 1.4'</code>
<li>Pushing tags upstream: <code>git push --tags</code>
<li>Checking out a tag: <code>git checkout $tagname</code>. When you've finished, go back to whatever branch you were working on before: <code>git checkout master</code>
Logs with filenames: git log --stat
<hr><h2>Also on this site</h2>
<li><a href="branches.htm">branches</a> - local and remote
<li><a href="config.htm">config</a> - how to configure git
<li><a href="create.htm">create</a> - including creation of bare repos
<li><a href="github.htm">github</a> - specific comments on github, and a list of alternatives
<li><a href="windows.htm">windows</a> - Win 7 native version