chengsoonong / wib Goto Github PK
View Code? Open in Web Editor NEWA common interface to both git and hg
License: GNU General Public License v3.0
A common interface to both git and hg
License: GNU General Public License v3.0
$ touch dummy\ file.txt
$ wib track dummy\ file.txt
fatal: pathspec 'dummy' did not match any files
It's noted here that wib track
isn't exactly git add
. Coming from a git background, it's not clear from the README what track and untrack are. Could these be documented?
Unclear whether this is a good thing or not.
https://git-lfs.github.com/
http://help.fogcreek.com/8168/how-to-use-the-mercurial-largefiles-extension
When running
wib status
and there is no repository, return a string saying "no git or hg found".
Right now, this is hardcoded to git.
wib track is not exactly git add.
We would like to notify the user if (s)he tries to track a file that is already being tracked.
git ls-tree -r HEAD --name-only
Currently being displayed to console (STDERR?).
Test occurs in function main.
ci = checkin
co = checkout
down = download
up = upload
$ mkdir dir
$ touch dir/file
$ wib track dir
$ wib untrack dir
fatal: not removing 'dir' recursively without -r
One option is to pipe to less. But this does not work on windows.
git mv source.txt target.txt
hg mv source.txt target.txt
implements copy and remove.
Need to update logging
hg log --follow
Provide detailed output.
E.g.
GIT_TRACE=1 git lfs fetch --all
wib download URL
should not need to check for existing git or hg repository
It is often useful to look at the log entries that affect a particular file only.
hg log filename.txt
or git log filename
Could get more fancy by checking for particular events, like adding.
git log --follow --diff-filter=A --find-renames=40% filename.txt
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.