go get -u all

go get -u

go mod update

go get -u full_package_name
   go get -u github.com/... // ('...' being the wildcard). 

 go get -u github.com/orgA/...

 go get -d

   go get -u ./..

 

git config --global core.symlinks false

git config core.symlinks false

然并卵

find . -name .git -print -execdir git pull \;
find . -name .git -print -execdir git fetch --progress -v "origin" \;
find . -name .git -print -execdir git fetch --all \;
find . -name .git -print -execdir git submodule update --init --recursive \;
find . -name .svn -print -execdir svn update \;
find . -name .hg -print -execdir hg pull -u \;
bash
find . -type d -name .git -exec git --git-dir={} --work-tree=$PWD/{}/.. pull origin master \;
PowerShell
Get-ChildItem -Recurse -Directory -Hidden -Filter .git | ForEach-Object { & git --git-dir="$($_.FullName)" --work-tree="$(Split-Path $_.FullName -Parent)" pull origin master } ls | parallel -I{} -j100 '
if [ -d {}/.git ]; then
echo Pulling {}
git -C {} pull > /dev/null && echo "pulled" || echo "error :("
else
echo {} is not a .git directory
fi
'
git reset --hard HEAD
git clean -f -d
git pull git fetch --all
git reset --hard origin/master
git reset --hard HEAD
git clean -f -d
git pull #!/bin/bash
git fetch --all
for branch in `git branch -r --format="%(refname:short)" | sed 's/origin\///'`
do git branch -f --track "$branch" "origin/$branch"
done git fetch --all; for branch in `git branch -r --format="%(refname:short)" | sed 's/origin\///'`; do git branch --track "$branch" "origin/$branch" ; done ; find . -name ".git" -type d | sed 's/\/.git//' | xargs -P10 -I{} git -C {} pull find . -name .git -print -execdir git pull \;
find . -name .git -print -execdir git submodule update --init --recursive \; find . -name .svn -print -execdir svn update \;
#!/bin/sh
for dir in $(ls -d */)
do
cd $dir
echo "into $dir"
if [ -d ".svn" ]; then
svn update
elif [ -d ".hg" ]; then
hg pull -u
elif [ -d ".git" ]; then
git submodule update --init --recursive
git fetch --progress -v "origin"
git fetch --all
fi
cd ..
done find . -name .git -print -execdir sh ~/.sh \;

最新文章

  1. 关于ExtJS、JQuery UI和easy UI的选择问题
  2. MongoDB安装(一)
  3. 转:copy initialization
  4. HDU 3605
  5. poj 3463 Sightseeing( 最短路与次短路)
  6. 在Visual Studio 2010中使用DSL Tool特定领域开发 开篇
  7. Codeforces Round #320 (Div. 1) [Bayan Thanks-Round] C. Weakness and Poorness 三分 dp
  8. php验证身份证号码正确性
  9. Oracle技术整理(转载)
  10. Scala入门系列(五):面向对象之类
  11. 大数据和Hadoop时代的维度建模和Kimball数据集市
  12. spring mvc返回json格式和json字符串
  13. echarts设置toolTip大小和样式问题
  14. 在RAC执行相关操作发生ora-01031:insufficient privileges解决方法
  15. git revert回退时提示One or more files are in a conflicted state
  16. leetcode 罗马数字转整数
  17. rails 网站跨域
  18. centos7使用frabric自动化部署LNMP
  19. IOS 浅谈闭包block的使用
  20. apache poi合并单元格设置边框

热门文章

  1. kuangbin带你飞 - 合集
  2. 使用you-get下载网页小视频(实际上你可以下载任意你想要的web网页中的内容)
  3. android摄像头获取图像——第一弹
  4. 洛谷P3857 [TJOI2008]彩灯(线性基)
  5. C#邮包计费
  6. 远程kafka通信实例,各种bug解决----虚拟机+本地电脑
  7. ZOJ 4019 Schrödinger's Knapsack (from The 18th Zhejiang University Programming Contest Sponsored by TuSimple)
  8. springMVC 类型转换
  9. 应用日志获取-web系统
  10. BZOJ1415(期望dp)