Skip to content

LosAlamosAl/losalamosal.me

Repository files navigation

losalamosal.me

Static blog and JAMstack site

To clone and build this site:

# clone as follows with SSH for multiple GitHub accounts
> git clone --recursive git@losalamosal.github.com/losalamosal/losalamosal.me.git
> cd losalamosal.me
> git config user.email ...
> git config user.name ...
> git submodule update --remote
# commit this update to repo
# add a post--contraty to Hugo docs, must be post directory for this theme
> hugo new post/starting-to-blog.md
# Check the site at localhost:1313
> hugo server -D
> ^C
# push it up to GitHub

Create a new post:

git checkoout -b new-post-name
hugo new posts/new-post-name.md
git add -A
git commit -m "New post"
git push -u origin new-post-name

Merge master to branch:

# in branch...
git pull origin master
# or...
git fetch
git merge origin/master

Use VScode as git commit editor:

git config --local core.editor "code --wait"

Don't use a pager for git output:

config --local core.pager cat

Releases

No releases published

Packages

No packages published