git multiple worktrees
This checks out the branch called
in a folder called 1
devel
. It
makes it easy to keep track of multiple branches of your project without having
to have multiple clones, or to keep switching from one branch to the other :1
dev-code
Println debugging go libs
Easy Println debugging:
- remove the lib’s pkg folder from $GOPATH
- add your debugging statements
- rebuild
- run
- identify problem
- revert original lib code
allow permanent access to any app to your google account
This link allows permanent access to any app to your google account for 10 min.
view version of a file from a certain git branch
For example to view how app/models/user.rb looks on branch name_of_branch: