From 33976ca43ba5803be3968938d0b943fdf478d3d9 Mon Sep 17 00:00:00 2001 From: shwetha729 Date: Mon, 17 Jul 2023 20:35:59 -0400 Subject: [PATCH] Updated: 2023-07-17 20:35:56 + 4 --- enter/.obsidian/workspace.json | 15 ++++---- .../GUIs/Internet/Hosting/Servers/Linode.md | 2 +- .../GUIs/Internet/Repos/Github.md | 34 ++++++++++++++++++- 3 files changed, 42 insertions(+), 9 deletions(-) diff --git a/enter/.obsidian/workspace.json b/enter/.obsidian/workspace.json index 7b1fbcd..a3c6ada 100644 --- a/enter/.obsidian/workspace.json +++ b/enter/.obsidian/workspace.json @@ -109,7 +109,7 @@ "state": { "type": "markdown", "state": { - "file": "Coding Tips (Classical)/Terminal Tips/CLI Tools/APIs/Useful APIs.md", + "file": "Coding Tips (Classical)/Terminal Tips/GUIs/Internet/Hosting/Servers/Linode.md", "mode": "source", "source": false } @@ -202,7 +202,7 @@ "state": { "type": "backlink", "state": { - "file": "Coding Tips (Classical)/Terminal Tips/CLI Tools/APIs/Useful APIs.md", + "file": "Coding Tips (Classical)/Terminal Tips/GUIs/Internet/Hosting/Servers/Linode.md", "collapseAll": false, "extraContext": false, "sortOrder": "alphabetical", @@ -219,7 +219,7 @@ "state": { "type": "outgoing-link", "state": { - "file": "Coding Tips (Classical)/Terminal Tips/CLI Tools/APIs/Useful APIs.md", + "file": "Coding Tips (Classical)/Terminal Tips/GUIs/Internet/Hosting/Servers/Linode.md", "linksCollapsed": false, "unlinkedCollapsed": true } @@ -242,7 +242,7 @@ "state": { "type": "outline", "state": { - "file": "Coding Tips (Classical)/Terminal Tips/CLI Tools/APIs/Useful APIs.md" + "file": "Coding Tips (Classical)/Terminal Tips/GUIs/Internet/Hosting/Servers/Linode.md" } } } @@ -268,14 +268,16 @@ "active": "4c2d78743af9a7c4", "lastOpenFiles": [ "Coding Tips (Classical)/Terminal Tips/GUIs/Internet/Repos/Gitea.md", + "Coding Tips (Classical)/Terminal Tips/GUIs/Internet/Repos/Gitlab.md", + "Coding Tips (Classical)/Terminal Tips/GUIs/Internet/Repos/Replit.md", + "Coding Tips (Classical)/Terminal Tips/GUIs/Internet/Repos/Github.md", + "Coding Tips (Classical)/Terminal Tips/CLI Tools/APIs/Useful APIs.md", "Coding Tips (Classical)/Project Vault/On Obsidian/imgFiles/Pasted image 20230717132307.png", "Coding Tips (Classical)/Terminal Tips/About terminal.md", "Coding Tips (Classical)/Terminal Tips/CLI Tools/CLI Tool Collection.md", "Coding Tips (Classical)/Terminal Tips/CLI Tools/Commands + Settings/Extra customizations.md", "Coding Tips (Classical)/Terminal Tips/CLI Tools/Commands + Settings/Aliases.md", "Coding Tips (Classical)/Terminal Tips/CLI Tools/Commands + Settings/Command Shortcuts.md", - "Coding Tips (Classical)/Terminal Tips/GUIs/Internet/Repos/Replit.md", - "Coding Tips (Classical)/Terminal Tips/GUIs/Internet/Repos/Github.md", "Coding Tips (Classical)/Terminal Tips/GUIs/Internet/Tools/Email.md", "Coding Tips (Classical)/Terminal Tips/GUIs/Internet/Tools/Issue Tracking.md", "Coding Tips (Classical)/Terminal Tips/GUIs/Internet/Tools/Webi.md", @@ -294,7 +296,6 @@ "Coding Tips (Classical)/Terminal Tips/Languages/Python/Welcome to Python.md", "Coding Tips (Classical)/Terminal Tips/Languages/About Languages.md", "Coding Tips (Classical)/Terminal Tips/Languages/XML.md", - "Coding Tips (Classical)/Terminal Tips/Languages/Wolfram.md", "Coding Tips (Classical)/Project Vault/On Obsidian/imgFiles/Pasted image 20230717000143.png", "Coding Tips (Classical)/Project Vault/On Obsidian/imgFiles/Pasted image 20230716230115.png", "Machine Tips (Quantum)/Resources/Technologies, Orgs, & Apps/Companies & Events/DWave", diff --git a/enter/Coding Tips (Classical)/Terminal Tips/GUIs/Internet/Hosting/Servers/Linode.md b/enter/Coding Tips (Classical)/Terminal Tips/GUIs/Internet/Hosting/Servers/Linode.md index 1a429f9..e224d27 100644 --- a/enter/Coding Tips (Classical)/Terminal Tips/GUIs/Internet/Hosting/Servers/Linode.md +++ b/enter/Coding Tips (Classical)/Terminal Tips/GUIs/Internet/Hosting/Servers/Linode.md @@ -4,6 +4,6 @@ A competitive cloud provider to AWS, Google, or Microsoft that is created for d ![[Pasted image 20230505214204.png]] -For instance, my [gitea server](http://172.104.8.87:3000/shway/Notepad) on Linode! This hosts my notepad locally so it will be safe from cloud storage issues. +For instance, my [gitea server](http://172.104.8.87:3000/shway/Notepad) on Linode! This hosts my notepad locally so it will be safe from cloud storage issues. For instructions on setting up this git, head to the Gitea ![[Pasted image 20230714160013.png]] \ No newline at end of file diff --git a/enter/Coding Tips (Classical)/Terminal Tips/GUIs/Internet/Repos/Github.md b/enter/Coding Tips (Classical)/Terminal Tips/GUIs/Internet/Repos/Github.md index baa120c..2c6dff3 100644 --- a/enter/Coding Tips (Classical)/Terminal Tips/GUIs/Internet/Repos/Github.md +++ b/enter/Coding Tips (Classical)/Terminal Tips/GUIs/Internet/Repos/Github.md @@ -3,4 +3,36 @@ Github is one of the largest and most popular version control & codebase hosting There is also this site called Githubplus for quick downloading of anything on github. As well as [a site that generates](https://github-contributions.vercel.app/) all your github contributions in a single image! - This is the quick [cheatsheet for all things github ](https://upengareri.github.io/notes/git_cheatsheet/) through your terminal -- I have made a personal more in-depth [git commands sheet ](https://docs.google.com/document/d/1am1D9IryCxSWAA6a0RcdeW6EPZYqKkNIUqmXtxDtaBE/edit?usp=sharing)as well for reference. \ No newline at end of file +- I have made a personal more in-depth [git commands sheet ](https://docs.google.com/document/d/1am1D9IryCxSWAA6a0RcdeW6EPZYqKkNIUqmXtxDtaBE/edit?usp=sharing)as well for reference. + + + +###### Git-Bundle: +``` +# git bundle +# Package objects and references into an archive. +# More information: . + +# Create a bundle file that contains all objects and references of a specific branch: +git bundle create path/to/file.bundle branch_name + +# Create a bundle file of all branches: +git bundle create path/to/file.bundle --all + +# Create a bundle file of the last 5 commits of the current branch: +git bundle create path/to/file.bundle -5 HEAD + +# Create a bundle file of the latest 7 days: +git bundle create path/to/file.bundle --since=7.days HEAD + +# Verify that a bundle file is valid and can be applied to the # current repository: +git bundle verify path/to/file.bundle + +# Print to the standard output the list of references contained in a bundle: +git bundle unbundle path/to/file.bundle + +# Unbundle a specific branch from a bundle file into the current repository: +git pull path/to/file.bundle branch_na +``` + +via [cheat.sh](https://cheat.sh/git-bundle) \ No newline at end of file