Skip to content

Instantly share code, notes, and snippets.

Avatar

Anietz

View GitHub Profile
@Anietz
Anietz / erc20-token-sample.sol
Created Mar 15, 2021 — forked from bajcmartinez/erc20-token-sample.sol
Necessary code to generate an ERC20 Token
View erc20-token-sample.sol
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : LCST
// Name : LCS Token
// Total supply : 100000
// Decimals : 2
// Owner Account : 0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe
@Anietz
Anietz / .dockerignore
Created Jan 14, 2021 — forked from ksmithut/.dockerignore
Node Docker Compose nodemon
@Anietz
Anietz / git-pushing-multiple.rst
Created Jul 20, 2020 — forked from rvl/git-pushing-multiple.rst
How to push to multiple git remotes at once. Useful if you keep mirrors of your repo.
View git-pushing-multiple.rst

Pushing to Multiple Git Repos

If a project has to have multiple git repos (e.g. Bitbucket and Github) then it's better that they remain in sync.

Usually this would involve pushing each branch to each repo in turn, but actually Git allows pushing to multiple repos in one go.

If in doubt about what git is doing when you run these commands, just