Quantcast
Channel: Commands tagged commit sorted by votes
Browsing all 7 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Get first Git commit hash

$ git log --format=%H | tail -1 Can anyone make a shorter one? This doesn't work: git log --reverse -1 --format=%H View this command to comment, vote or add to favourites View all commands by l0b0 Diff...

View Article



Image may be NSFW.
Clik here to view.

Get first Git commit hash

$ git log --pretty=format:%H | tail -1 git log --format=%H | tail -1 doesn't work anymore View this command to comment, vote or add to favourites View all commands by unixmonkey6264 Diff your entire...

View Article

Image may be NSFW.
Clik here to view.

Get a Bulleted List of SVN Commits By a User for a Specifc Day (Daily Work Log)

$ svn log -r '{YYYY-MM-DD}:{YYYY-MM-DD}' | sed -n '1p; 2,/^-/d; /USERNAME/,/^-/p' | grep -E -v '^(r[0-9]|---|$)' | sed 's/^/* /g' * Replace USERNAME with the desired svn username * Replace the first...

View Article

Image may be NSFW.
Clik here to view.

Show the total number of changes that every user committed to a Subversion...

$ svn log -v --xml > log.xml; zorba -q 'let $log := doc("log.xml")/log/logentry return for $author in distinct-values($log/author) order by $author return concat($author, " ",...

View Article

Image may be NSFW.
Clik here to view.

Number of commits per day in a git repository

$ git log | grep Date | awk '{print " : "$4" "$3" "$6}' | uniq -c View this command to comment, vote or add to favourites View all commands by La0 Diff your entire server config at ScriptRock.com

View Article


Image may be NSFW.
Clik here to view.

Get first Git commit hash

$ git rev-list --max-parents=0 HEAD https://git.kernel.org/cgit/git/git.git/commit/?id=ad5aeeded3295589b2573b143f754762a56f8f82 View this command to comment, vote or add to favourites View all commands...

View Article

Image may be NSFW.
Clik here to view.

list lines changed per all authors of a git repository

$ for i in $(git log --format='%ae' | sort -u); do echo $i; git log --author="$i" --pretty=tformat: --numstat | awk '{ add += $1; subs += $2; loc += $1 - $2 } END { printf "added lines: %s, removed...

View Article
Browsing all 7 articles
Browse latest View live




Latest Images