大约有 13,000 项符合查询结果(耗时:0.0208秒) [XML]
Update git commit author date when amending
...hub.com/bitriddler/git-change-date
Usage:
npm install -g git-change-date
cd [your-directory]
git-change-date
share
|
improve this answer
|
follow
|
...
Docker build “Could not resolve 'archive.ubuntu.com'” apt-get fails to install anything
... these addresses, create a file /etc/docker/daemon.json:
$ sudo su root
# cd /etc/docker
# touch daemon.json
Put this in /etc/docker/daemon.json:
{
"dns": ["10.0.0.2", "10.0.0.3"] ...
Temporarily switch working copy to a specific Git commit
... you had last checked out into the currently checked out branch. It's like cd - in bash.
– Nathanael
Mar 26 at 15:09
...
The shortest possible output from git log containing author and date
...
... and it is also useful to add date=short like cdunn2001 suggests in another answer
– Jesper Rønn-Jensen
Jan 10 '12 at 21:41
10
...
Remove large .pack file created by git
...repo.git
java -jar bfg.jar --delete-files YOUR_FILE_NAME some-big-repo.git
cd some-big-repo.git
git reflog expire --expire=now --all && git gc --prune=now --aggressive
git push
Delete a folder
Same as above but use --delete-folders
java -jar bfg.jar --delete-folders YOUR_FOLDER_NAME so...
How to RSYNC a single file?
...
does this mean that you still need a module in rsyncd.conf with a directory above the file (eg. with refuse option delete), or can you upload files anywhere on the server by just specifying it's path? The man page isn't really clear about that.
– user111...
How to Store Historical Data
...eveloper. The concept of temporal table is similar to Change Data Capture (CDC), with the difference that temporal table has abstracted most of the things that you had to do manually if you were using CDC.
share
|
...
How to set up a git project to use an external repo submodule?
...ready have MyWebApp set up as a repo, from terminal issue these commands:
cd MyWebApp
git submodule add git://github.com/jquery/jquery.git externals/jquery
This will create a directory named externals/jquery* and link it to the github jquery repository. Now we just need to init the submodule and ...
Intersection of two lists in Bash
...lists:
sort <(ls one) <(ls two) | uniq -u
Bonus
Play with it ;)
cd $(mktemp -d) && mkdir {one,two} && touch {one,two}/file_{1,2}{0..9} && touch two/file_3{0..9}
share
|
...
How to edit log message already committed in Subversion?
...ion server (replace ~/svn/reponame with the directory of your repository)
cd ~/svn/reponame/hooks
Remove the extension
mv pre-revprop-change.tmpl pre-revprop-change
Make it executable (cannot do chmod +x!)
chmod 755 pre-revprop-change
Source
Windows-hosted SVN
The template files in the ho...