Showing posts with label git. Show all posts
Showing posts with label git. Show all posts

Wednesday, July 17, 2024

using git; rust doc guessing game

using git

 

git init

git add .

git commit . -m "initial commit"

git status .

git log gen-man.py

Clone a repo

git clone https://github.com/Macchina-CLI/macchina.git

Using git stash

Use git stash when you want to record the current state of the working directory and the index, but want to go back to a clean working directory.

https://opensource.com/article/21/4/git-stash

git stash

Update local repo to latest commit

git pull git://git.savannah.gnu.org/emacs emacs-30.1

Files to exclude from version control

.gitignore
https://github.com/github/gitignore/blob/main/Rust.gitignore
 
https://github.com/github/gitignore/blob/main/Haskell.gitignore
 

and for other languages.

git - the simple guide

MS Class Github Foundations


 

git config user.email querqus@blair-pop.local

git commit -m "how preview" man_page.py


How to Delete a Forked Repository in GitHub?

https://lifeincoding.com/how-to-delete-a-forked-repository-in-github/  

Clone repo from a specific date 

 https://forums.freebsd.org/threads/git-download-source-from-a-specific-date.81558/ 

git clone https://github.com/zed-industries/zed.git
git log --after="2023-05-17 13:00" --before="2023-10-17 13:00"
git reset --hard 291d35f337b6a9b49beff2c2d40aa741ace843a4

 

 Rust update to next version


rustup update > up.txt 2>&1
it worked:
info: syncing channel updates for 'stable-aarch64-apple-darwin'
info: latest update on 2024-11-28, rust version 1.83.0 (90b35a623 2024-11-26)
info: downloading component 'rust-std' for 'wasm32-wasi'
info: downloading component 'rust-src'
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: removing previous version of component 'rust-std' for 'wasm32-wasi'
info: removing previous version of component 'rust-src'
info: removing previous version of component 'cargo'
info: removing previous version of component 'clippy'
info: removing previous version of component 'rust-docs'
info: removing previous version of component 'rust-std'
info: removing previous version of component 'rustc'
info: removing previous version of component 'rustfmt'
info: installing component 'rust-std' for 'wasm32-wasi'
info: installing component 'rust-src'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
info: installing component 'rust-std'
info: installing component 'rustc'
info: installing component 'rustfmt'
info: syncing channel updates for '1.80-aarch64-apple-darwin'
info: checking for self-update

stable-aarch64-apple-darwin updated - rustc 1.83.0 (90b35a623 2024-11-26) (from rustc 1.79.0 (129f3b996 2024-06-10))
1.80-aarch64-apple-darwin unchanged - rustc 1.80.1 (3f5fd8dd4 2024-08-06)

info: cleaning up downloads & tmp directories

Programming a Guessing Game

Rust Book: Guessing Game

 

Friday, May 24, 2024

Part 2: rustup; why; using git

 

rustup; why

Turns out rustup is essential to many projects (zed, redox).
 

curl –proto ‘=https’ –tlsv1.2 -sSf https://sh.rustup.rs | sh

https://www.rust-lang.org/learn/get-started
Don't forget to update every once in a while (see Issue #1208 ).

rustup update
 
Ignore what I said:
 
rustup self uninstall

https://code2care.org/rust/uninstall-rust-lang-from-mac-linux-or-ubuntu/

 

Using git


Friday, August 13, 2021

TODO: Debian config, Export vbox

DO

 NOT 

 

DONE

  • added myself to sudoers file:
nano /etc/sudoers

 
 

  • more







     

     

     

     

  •  


Saturday, September 26, 2009

my notes on building git on OS X 10.6 Snow Leopard

Hello!

Looking at the Omni frameworks I realized I would need the git source control package.

Dan Benjamin's HiveLogic article on building git on Snow Leopard explains the steps in detail.
What I am going to talk about are the road bumps I ran into.

After getting the git source, download:
asciidoc
xmlto
getopt
packages.

Alright, time to turn to MacPorts 1.8.0 to resolve all these dependencies. Except xmlto (bug#) hung up the works in MacPorts. Thanks to lightning fast response from MacPorts I found I needed to upgrade libxml2 to 2.7.5 thus:

sudo port install libxml2

After that xmlto installs fine as does git. Hope that helps. Cheers.

More links:
asciidoc
http://www.methods.co.nz/asciidoc/INSTALL.html#X1
http://sourceforge.net/projects/asciidoc/

xmlto
http://directory.fsf.org/project/xmlto/

getopt
http://huizen.dds.nl/~frodol/getopt.html
http://software.frodo.looijaard.name/getopt/download.php