KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm writing a Bash script, and I want to checkout a tag and then checkout back to where I started. I tried git co HEAD@{1} , but when starting at master, that takes me back to the commit SHA of master but with a detatched head. Is there something like pushd & popd for Git?
Tags (comma-separated)
Save Edits
Cancel