git : Setup git remote on local drive
来源:互联网 发布:中小学生网络问卷调查 编辑:程序博客网 时间:2024/05/16 04:56
Setup git remote on the local drive
For example, my working folder is
C:\JZprograms
And I want to backup in
D:\reposituar
We can follow following steps to set up git remote
(1) In D:\reposituar
$git --bare init
(2) In C:\JZprograms
$git remote add jzbackupD:\reposituar
$ git config remote. jzbackup.mirrortrue
$ git push jzbackup
Notice that --bare will only backup git, it is better to use git init which will back up all the files.
ref:
http://stackoverflow.com/questions/1887364/git-clone-to-external-drive-for-backup
0 0
- git : Setup git remote on local drive
- GIT删除remote/local tag
- Git: Setup a remote Git repository
- Git: Removing commits on remote
- Git: Delete a branch (local or remote)
- Setup GIT server on ubuntu 9.04
- gitweb setup base on git repo
- git remote
- git remote
- git remote
- git remote
- git remote
- git remote
- git remote
- git remote
- git remote
- git# remote
- git remote
- codeforces Round #269(div2) A解题报告
- 平台 开发商城选择
- 德辅道饭店
- JSTL标签
- 柯震东经纪人柴智屏被大陆限制出境 疑涉刑事犯罪
- git : Setup git remote on local drive
- 百度地图画连线
- 东莞"女德班"被责令停办 学员被遣散并退回学费
- PLSQL报无效的窗口句柄的解决办法
- UI视图控制器的使用
- 中国最小黑客:为不做作业 黑掉学校系统
- 有两个双向循环链表A,B,知道其头指针为:pHeadA,pHeadB,请写一函数将两链表中data值相同的结点删除
- 幸福的非官方
- 的方式的发生的丰盛的