Pavel Straňák
stranak@ufal.mff.cuni.cz
úterý 10.40–13.50
Malostranské nám. 25, SU1
2. 5. 2017
C-z
… suspends a process running in the foreground (e.g. top
, vim
etc.)fg
… re-start the suspended process again (in the foreground)bg
… re-start the suspended process in the background
find . -name '*.t.gz'
… all files in this directory, recursivelyfind . -name *.html | xargs grep 'UFAL'
<(command)
… make command output appear as a filediff file1 <(cat xy | sort | uniq -c | sort -nr)
or
start_btred -l <(ls *.t.gz) -qTe \
'map {print join(", ", ListV($_->{"tnode.rfs"})), "\n" } ListV($root->{mwes})'
file.bak
file.june20
myProject-2014-04-25-9PM.zip
git format-patch
and apply
)Most popular Distributed VCS.
clone
) keeps the whole history.
log
, commit
, diff
, branch
, etc.)git init .
# start a git repo heregit add *
# add everything in here into the projectgit diff
to check what is newgit commit -am'initial commit'
# commit all changes and add this messagegit pull
and git push
# pull/push what from/to whereVery good documentation is in this nice book: https://git-scm.com/book/
Some VCS, often support for more choices (SVN, Git, Mercurial, Bazaar), Issue tracker, wiki, sometimes other components. Linking between components: refering to code changes (commits) wrom wiki or issues, linking resolved issues from commit messages, etc.
svn.ms.mff.cuni.cz/trac
redmine.ms.mff.cuni.cz
Not really just Github. One possible workflow. Makes sense for all big projects.