I am having a difficult time following what are you doing.
Assuming your GOPATH
is $HOME/go
, the process should be:
- Fork the Hugo repository
- Create a directory outside of the
GOPATH
($HOME/code
) -
cd
into the directory you just created - Clone your fork
-
cd
into the source directory ($HOME/code/hugo
) - Create a new branch with a meaningful name (
git checkout -b fix/correct-typo
) - Make your changes.
- Compile (
go install -tags extended
) - Test (
mage -v test
) - Commit your changes locally
- Push the branch to your repository
- Head over to the Hugo repository to create the pull request