Github がプライベートリポジトリを無料開放したので Bitbucket から Github に移行しようと考える人も多いでしょう。 私はもともと目的によって使い分けていたものの、一部を Bitbucketから Github に移行しました。 やり方はそれほど難しくないものの、一部間違えるとうまく行かない点があるのでまとめてみました。
まずはローカルのリポジトリを移行できるように準備します。
$ git pull
# -*- coding: utf-8 -*- | |
import re | |
from pathlib import PurePath | |
from typing import Any, Dict # NOQA | |
import fire | |
import pandas as pd | |
from openpyxl.styles import Alignment, Border, Font, PatternFill, Side | |
from openpyxl.styles.borders import BORDER_THIN |
PROJECT = sample-python-app | |
FUNCTION = $(PROJECT) | |
REGION = us-east-1 | |
.phony: clean | |
clean: | |
rm -f -r $(FUNCTION)* | |
rm -f -r site-packages |
# Python OAuth example | |
import evernote.edam.userstore.constants as UserStoreConstants | |
import evernote.edam.type.ttypes as Types | |
from evernote.api.client import EvernoteClient | |
## | |
# Helper function to turn query string parameters into a | |
# Python dictionary | |
## |
/* | |
Copyright (c) 2017 Chris Patuzzo | |
https://twitter.com/chrispatuzzo | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |