Skip to content

Latest commit

 

History

History
21 lines (19 loc) · 613 Bytes

privaterepo.md

File metadata and controls

21 lines (19 loc) · 613 Bytes

Steps for setting up private repo

Git

  • Set up SSH with the remote git
  • Set GOPRIVATE in .pam_environment
GOPRIVATE=sabariram.com
  • Set the global config of git
[email protected]:SabariramC/goserverbase.insteadof=https://github.com/sabariramc/goserverbase/v6
  • In the module that is going to use this package add the following in the go.mod file
replace github.com/sabariramc/goserverbase/v6 => github.com/sabariramc/goserverbase/v6.git <<tag>>

eg:

replace github.com/sabariramc/goserverbase/v6 => github.com/sabariramc/goserverbase/v6.git v0.1.1