下面是。
但仍然有一些硬要删除的文件,我只需要保留<代码>/lib/request.js/lib/response.js
in git://github.com/visionmedia/express.git, 其他人应当删除。
在该条中,我需要说明哪些文件可以删除,例如,Rakefile。
www.un.org/Depts/DGACM/index_french.htm 履历
但我想说的是哪些文件可以保存。
我如何能够这样做?
下面是。
但仍然有一些硬要删除的文件,我只需要保留<代码>/lib/request.js/lib/response.js
in git://github.com/visionmedia/express.git, 其他人应当删除。
在该条中,我需要说明哪些文件可以删除,例如,Rakefile。
www.un.org/Depts/DGACM/index_french.htm 履历
但我想说的是哪些文件可以保存。
我如何能够这样做?
您是否肯定你为什么要建立一个全新的存放处,而只是从这两个档案中整理出来?
$ mkdir my_repo
$ cd my_repo/
$ git init
Initialized empty Git repository in /Users/annelicuss/my_repo/.git/
$ wget https://raw.github.com/visionmedia/express/master/lib/request.js
--2012-05-13 20:38:08-- https://raw.github.com/visionmedia/express/master/lib/request.js
Resolving raw.github.com... 207.97.227.243
Connecting to raw.github.com|207.97.227.243|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8878 (8.7K) [text/plain]
Saving to: `request.js
100%[======================================>] 8,878 --.-K/s in 0s
2012-05-13 20:38:10 (242 MB/s) - `request.js saved [8878/8878]
$ wget https://raw.github.com/visionmedia/express/master/lib/response.js
--2012-05-13 20:38:16-- https://raw.github.com/visionmedia/express/master/lib/response.js
Resolving raw.github.com... 207.97.227.243
Connecting to raw.github.com|207.97.227.243|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 15276 (15K) [text/plain]
Saving to: `response.js
100%[=======================================================================================================>] 15,276 --.-K/s in 0s
2012-05-13 20:38:17 (280 MB/s) - `response.js saved [15276/15276]
$ ls
request.js response.js
$ git add *
$ git commit -m Add request, response from Express.
[master (root-commit) be4a6d9] Add request, response from Express.
2 files changed, 1059 insertions(+), 0 deletions(-)
create mode 100644 request.js
create mode 100644 response.js
$ git log
commit be4a6d9c82cb48b61f662e1e83a9f696a6685883
Author: Arlen Cuss <[email protected]>
Date: Sun May 13 20:38:37 2012 +1000
Add request, response from Express.
$
请注意,即使这或许会赢得你的希望;request.js
和response.js
取决于,例如util.js
载于同一名录。 你可能只想加上对你的项目的依赖。
Im having some confusion with my git usage. I cloned a repo from one comp to the other, and the new clone is the state of the original that was active some time ago. So its cloning a past version. ...
I was wondering if the strategy I m using for tagging and hotfixing tags (which then I use for deploying rails applications) with git is appropriate. For tagging I just tag a commit of the master ...
I have a svn repo with various apps as subdirectory of a single svn repo. That worked because I could have checked out a partial, repo. As I cant do that with git obviously I need multiple repos. I ...
I understand how to merge branches together in git, and I love how easy it makes it. I have a branch that looks like this: project/ |--subproj1/ | |---(files) | |--subproj2/ |---(files) A ...
We still use CVS, I use git and hg for my personal use though I m still a novice at both, but I realize they re much more modern and better, faster, distributed, etc. It s just everyone is so ...
I get this on every git svn command I try. I am using git version 1.6.4.2 on OS 10.6 The initial git svn fetch works, and i can do further fetches after that, but they do not enter the log or update ...
Given I have a master branch and a other branch. In the other branch are files I don t want to commit (e.g. log files) so I ignored them in .gitignore. When I switch to the master branch, these ...
Using Git at home has spoiled me - I now find using TFS at work to be a bit of a drag and want to explore the possibility of using Git locally and syncing somehow with TFS. I figure there are a few ...