Skip to content

Instantly share code, notes, and snippets.

@apenisoara
apenisoara / nexus_upload_raw_repo.sh
Created January 4, 2024 09:55 — forked from claudiosteuernagel/nexus_upload_raw_repo.sh
Nexus Raw Artifact upload using cURL
#Nexus Raw Artifact upload using cURL
curl --fail -u user:password --upload-file file.zip 'https:/nexus-repository.claudiosteuernagel.com/repository/my-raw-repo/my-directory/file.zip'
@apenisoara
apenisoara / git-change-author
Last active May 30, 2017 21:07 — forked from zapidan/git-change-author
Change previous commits author/email with filter-branch
## Make sure your local repo settings are correct
git config --local --list
git config --local user.name "author name"
git config --local user.email "[email protected]"
## Change previous n commits
git rebase -i HEAD~n --exec 'git commit --amend --author="First Last <[email protected]>"'
## if need to change starting from last pushed commit up to current commit, then no parameters needed:
git rebase -i ....