4359 links
  • Arnaud's links
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
  • thumbnail
    Git Alias to Show Affected Files in Last N Commits (Example)

    Add this to your user's ~/.gitconfig under [alias] to make it globally available:

    lsch = "!f() { git diff --name-status -r "HEAD~$1"; }; f"

    You can invoke this to retrieve all affected files in the last 7 commits like so:

    $ git lsch 7

    May 3, 2018 at 3:11:34 PM GMT+2 - permalink - archive.org - https://coderwall.com/p/8rtfgg/git-alias-to-show-affected-files-in-last-n-commits
    git alias
Links per page: 20 50 100
Shaarli - The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community - Help/documentation