Skip to content

Commit

Permalink
Add cm command for quick commits; dmb for diff from merge-base
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrxyz committed Sep 5, 2024
1 parent b8fe294 commit 78b5d23
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ black>=24.3.0
modernize>=0.8.0 # This can be removed after Noetic Migration is complete.

# Testing
pre-commit>=2.20.0
pre-commit>=3.5.0
pylint>=2.15.5

# YOLOv7
Expand Down
11 changes: 11 additions & 0 deletions scripts/setup.bash
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,21 @@ cm() {
fi
}

# potentially borrowed from forrest
autopush() {
git push origin +"${1:-HEAD}":refs/heads/autopush-cameron-"$(uuidgen --random | cut -c1-8)"-citmp
}

# uhhh maybe also borrowed from forrest
cw() {
git add -u
git commit -m "work"
}

dmb() {
git diff "$(git merge-base --fork-point "$(git branch -l main master --format '%(refname:short)')" HEAD)"
}

alias xbox=startxbox

# PYTHONPATH modifications
Expand Down

0 comments on commit 78b5d23

Please sign in to comment.