Skip to content

suhanyujie/practice

Repository files navigation

go的学习代码

项目list

install

* git clone https://github.com/suhanyujie/goPractice.git practice

build

  • 在仓库根目录下,go build -o a.exe **/xxx.go ...
  • 执行就可以直接在仓库根目录下,./a.exe param ...

遇到的问题

git提交

使用git pull提示refusing to merge unrelated histories

在执行git pull的时候,提示
`fatal: refusing to merge unrelated histories`
解决方法:
git pull --allow-unrelated-histories

修改git提交时的config中的username

  • vi ~/.gitconfig; 然后在文件中直接修改即可

About

go practicing code

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages