Skip to content

Instantly share code, notes, and snippets.

@Takhion
Forked from findepi/sort-commits-for-github.sh
Created November 9, 2019 17:22
Show Gist options
  • Select an option

  • Save Takhion/16f58760450c640d88df1ff73dba700d to your computer and use it in GitHub Desktop.

Select an option

Save Takhion/16f58760450c640d88df1ff73dba700d to your computer and use it in GitHub Desktop.

Revisions

  1. @findepi findepi revised this gist Nov 22, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion sort-commits-for-github.sh
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    git rebase "$(git merge-base HEAD master)" --ignore-date -x 'git commit --amend -C HEAD --date="$(date -R)" && sleep 1.05'
    git rebase "$(git merge-base HEAD master)" -x 'git commit --amend -C HEAD --date="$(date -R)" && sleep 1.05'
  2. @findepi findepi revised this gist Nov 27, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion sort-commits-for-github.sh
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    git rebase master --ignore-date -x 'git commit --amend -C HEAD --date="$(date -R)" && sleep 1.05'
    git rebase "$(git merge-base HEAD master)" --ignore-date -x 'git commit --amend -C HEAD --date="$(date -R)" && sleep 1.05'
  3. @findepi findepi revised this gist Jun 15, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion sort-commits-for-github.sh
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    git rebase master --ignore-date -x 'git ci --am -C HEAD --date="$(date -R)" && sleep 1.05'
    git rebase master --ignore-date -x 'git commit --amend -C HEAD --date="$(date -R)" && sleep 1.05'
  4. @findepi findepi created this gist Jun 14, 2017.
    1 change: 1 addition & 0 deletions sort-commits-for-github.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    git rebase master --ignore-date -x 'git ci --am -C HEAD --date="$(date -R)" && sleep 1.05'